Skip to content

Feature/opencl#2610

Open
gmeeker wants to merge 16 commits intoKhronosGroup:mainfrom
gmeeker:feature/opencl
Open

Feature/opencl#2610
gmeeker wants to merge 16 commits intoKhronosGroup:mainfrom
gmeeker:feature/opencl

Conversation

@gmeeker
Copy link

@gmeeker gmeeker commented Mar 17, 2026

Implements the OpenCL side of #1602 (no CUDA support) and validates with clang. #1602 is pretty old so I'm curious if there's still interest in this, but I need OpenCL/CUDA and support for legacy reasons. While this backend is smaller due to being compute only, it requires some changes in spirv_glsl to deal with OpenCL being a C-based language. The tests have mostly been copied from MSL, with more tests to cover subgroup emulation. Nvidia and AMD never fully implemented the subgroup extensions this more complicated emulation is necessary.

Please let me know if you think this would be a useful backend and if you have any thoughts about the design. I'm looking at CUDA as well.

@CLAassistant
Copy link

CLAassistant commented Mar 17, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants